package com.hoshiicloud.user.mapper.usercenter;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hoshiicloud.user.dto.userCenter.MemberDto;
import com.hoshiicloud.user.entity.usercenter.PlatConsumer;
import com.hoshiicloud.user.param.PlatStoreConsumerPageParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 平台消费者Mapper接口
 *
 * @author : yangcheng
 * @date : 2019/5/9 14:28
 * @mail : maiboyc@163.com
 **/
@Repository
public interface PlatConsumerMapper extends BaseMapper<PlatConsumer> {
    /**
     * 分页查询店铺消费者列表
     * @param page
     * @param param
     * @return
     */
    Page<MemberDto> storeConsumersPageList(IPage<MemberDto> page, @Param("param") PlatStoreConsumerPageParam param);
}
